package com.jiugang.cardump.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2021-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cardumper_monitor")
public class Monitor implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @TableId(value = "table_id", type = IdType.AUTO)
    private Integer tableId;

    /**
     * 设备编号
     */
    private String id;

    /**
     * 对轨状态
     */
    private String dgzt;

    /**
     * 压车状态
     */
    private String yczt;

    /**
     * 挂钩状态
     */
    private String ggzt;

    /**
     * 对轨激光信号
     */
    private String dgjgxh;

    /**
     * 压车臂1#信号
     */
    private String ycbxh1;

    /**
     * 压车臂2#信号
     */
    private String ycbxh2;

    /**
     * 压车臂3#信号
     */
    private String ycbxh3;

    /**
     * 压车臂4#信号
     */
    private String ycbxh4;

    /**
     * AI识别信号
     */
    private String aisbxh;

    /**
     * 翻转角度
     */
    private String fzjd;

    /**
     * 数据时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sjsj;

    private LocalDateTime datetime;


}
